package com.gaga.console.core.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 话术vo
 * </p>
 *
 * @author liujia
 * @since 2022-05-19
 */
@Data
public class ScriptVO implements Serializable {

    @ApiModelProperty("关键字")
    private String keyword;
    private Long keywordId;

    @ApiModelProperty("用户进入")
    private String userEnter;
    private Long userEnterId;

    @ApiModelProperty("主音频list")
    private List<ScriptItem> mainAudioFileList = new ArrayList<>();

    @ApiModelProperty("音话同步list")
    private List<ScriptItem> mainVideoFileList = new ArrayList<>();

    @Data
    public static class ScriptItem implements Serializable {
        /**
         * id
         */
        private Long id;
        /**
         * 话术文件名
         */
        private String name;
        /**
         * 话术内容
         */
        private String content;

        /**
         * 话术文件类型
         */
        private String itemFileType;
    }

}
